package gui.obu.alerts;

public class SpeedAlert implements AbstractAlert {

	private Integer currentSpeed;
	private Integer speedLimit;
	
	public SpeedAlert() {
		currentSpeed = null;
		speedLimit = null;
	}
	
	public SpeedAlert(Integer currentSpeed, Integer speedLimit) {
		this.currentSpeed = currentSpeed;
		this.speedLimit = speedLimit;
	}
	
	public Integer getCurrentSpeed() {
		return currentSpeed;
	}
	
	public Integer getSpeedLimit() {
		return speedLimit;
	}
	
	@Override
	public String toString() {
		return "Speed Alert:\n\tCurrent Speed: " + currentSpeed + 
			"\n\tSpeed Limit: " + speedLimit;
	}
}
